package com.zxcl.vo;

import com.zxcl.domain.Order;
import com.zxcl.domain.OrderItem;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("订单各个状态数量对象")
public class OrderVO extends Order {

    @ApiModelProperty("订单详情集合")
    private List<OrderItem> orderItemDtos;

    public void setOrderItemDtos(List<OrderItem> orderItemDtos) {
        this.orderItemDtos = orderItemDtos;
    }
}
